OBJS =  mkfs dumpcfs initcfs lsroot cat
CFLAGS = -Wall -Werror -g 

all: $(OBJS)

clear:
	rm $(OBJS)


initcfs: initcfs.c 
	gcc initcfs.c -o initcfs $(CFLAGS)

mkfs: mkfs.c 
	gcc mkfs.c bitmap.c -o mkfs $(CFLAGS) 

dumpcfs: dumpcfs.c 
	gcc dumpcfs.c -o dumpcfs $(CFLAGS)

lsroot: lsroot.c 
	gcc lsroot.c cfs.c -o lsroot $(CFLAGS)

cat: cat.c
	gcc cat.c cfs.c -o cat $(CFLAGS)

